<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<div class="section">
	<h2>View User</h2>
</div>

<div class="section">
	<form:form id="user" modelAttribute="user" action="editUser" method="get">
	<fieldset>
		<div class="field">
			<div class="label">Name:</div>
			<div class="output">${user.name}</div>
		</div>
	    
	    <input type="hidden" name="userId" value="${user.id}" />
		<div class="buttonGroup">
			<input type="submit" value="Confirm changes"/>&#160;
		</div>
	</fieldset>
	</form:form>
</div>
